package com.facade.tarea;

import java.io.Serializable;
import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.modelo.dao.tarea.ITareaDAO;
import com.modelo.entity.Tarea;

@Service
public class GestionTarea implements IGestionTarea,Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	@Autowired
	ITareaDAO tareaDAO;
	
	@Override
	public List<Tarea> findAll() {
		return tareaDAO.findAll(Tarea.class);
	}

	public void setTareaDAO(ITareaDAO tareaDAO) {
		this.tareaDAO = tareaDAO;
	}

}
